import Vue from 'vue'
import Vuex from 'vuex'
import count from './count'
import goods from './goods'
import job from './job'
import user from './user'
Vue.use(Vuex)
const store = new Vuex.Store({ //创建状态机对象
  modules:{
    'count':count,  //前面的count代表模块名
    goods,
    job,
    user
  }
})
export default store